#pragma once
#include "DeskTopShare.h"
#include "Jpeg2RgbScreen.h"
#include "GetScreen.h"

class DeskTopShare :
	public IDeskTopShare
{
public:
	DeskTopShare(void);
	~DeskTopShare(void);
	virtual void start(ScreenHeader screenHeader,INCOMMINGDATA callback);
public:
	Rgb2JpegScreen lpImage;
};

class DeskTopClient :
	public IDeskTopClient
{
public:
	DeskTopClient(void);
	~DeskTopClient(void);
	virtual void init(HWND hWnd);
	virtual void Set_BackGroud_Image(ScreenHeader h,char* img,int size);
public:
	HWND  m_hWnd;///<the windows handle to show the screen
	Jpeg2RgbScreen *  m_Jpeg2RgbScreen;///<the image parser control pointer
};
